package com.yqd.d2_inheritance;

public class Student extends People {
    private String studentNo;

    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public void study() {
        System.out.println("学生学习");
    }
}